<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <link href="/css/style.css" media="screen" rel="stylesheet" type="text/css">
    <link href="/css/grid.css" media="screen" rel="stylesheet" type="text/css">

    <script src="/js/jquery-1.7.2.min.js"></script>
    <script src="/js/html5.js"></script>
    <script src="/js/jflow.plus.js"></script>
    <script src="/js/jquery.carouFredSel-5.2.2-packed.js"></script>
    <script src="/js/checkbox.js"></script>
    <script src="/js/radio.js"></script>
    <script src="/js/selectBox.js"></script>
    <style type="text/css">
    </style>
</head>
<body>
<div class="listing_product" th:each="good:${goodlist}">
    <!--商品列表-->
    <!--<div class="product_li">-->
        <div class="grid_4">
            <img class="sale" src="/images/new.png" alt="New"/>
            <div class="prev">
                <a href="javascript:void(0);" class="getByGoodsId" th:alt="${good.gid}"><img th:src="${good.gimage}" alt="" title="" /></a>
            </div><!-- .prev -->
        </div><!-- .grid_3 -->

        <div class="grid_4">
            <div class="entry_content">
                <a href="javascript:void(0);" class="getByGoodsId" th:alt="${good.gid}"><h3 class="title" th:text="${good.gname}"></h3></a>
                <div class="review">
                    <a class="plus" href="#"></a>
                    <a class="plus" href="#"></a>
                    <a class="plus" href="#"></a>
                    <a href="#"></a>
                    <a href="#"></a>
                    <span>1条评论)</span>
                </div>
                <span th:text="${good.introduction}"></span>
                <a class="more" href="product_page.html">更多</a>
            </div><!-- .entry_content -->
        </div><!-- .grid_4 -->

        <div class="grid_2">
            <div class="cart">
                <div class="price">
                    <div class="price_new" ><span th:text="￥+${good.price}"></span></div>
                    <div class="price_old" ><span th:text="￥+${good.price}">￥550.00</span></div>
                </div>
                <a href="#" class="bay">加入购物车</a>
                <a href="#" class="obn"></a>
                <a href="#" class="like"></a>
            </div><!-- .cart -->
        </div><!-- .grid_2 -->

        <div class="clear"></div>
    </div><!-- .article -->

    <div class="clear"></div>
<!--</div>--><!-- .listing_product -->
<div class="clear"></div>

<div class="pagination">
    <ul>
        <li class="prev"><a th:style="${cur==1} ? 'pointer-events:none':''" href="javascript:void(0)" th:onclick="|localDate(${pre})|">&#8592;上一页</a></li>
        <li class="next"><a th:style="${cur==last} ? 'pointer-events:none':''" href="javascript:void(0)" th:onclick="|localDate(${next})|">下一页&#8594;</a></li>
    </ul>
</div><!-- .pagination -->
<p class="pagination_info">从 1 到12 (有 100 个产品)</p>
</div><!-- #content -->

<div class="clear"></div>
</body>
</html>